package ejb.facade;

import ejb.entities.Event;
import ejb.entities.Invitation;
import ejb.entities.User;
import java.util.List;
import javax.ejb.Local;

@Local
public interface InvitationFacade {
        public abstract void save(Invitation s);

	public abstract Invitation update(Invitation s);

	public abstract void delete(Invitation s);

	public abstract Invitation find(int entityID);

	public abstract List<Invitation> findAll();
    
        public List<Invitation> findInvitationByEvent(Event evented);
        
        public List<Invitation> findInvitationByUser(User user);
        
        public List<Invitation> findInvitationByUserAfterToday(User user);
        
}